from tkinter import *

class App:
    def __init__(self, master):
        frame = Frame(master)
        frame.pack()

        self.label = Label(frame, text='hello world')
        self.label.config(cursor='gumby')
        self.label.config(width=20, height=5, fg='yellow', bg='dark green')
        self.label.config(font=('times', '28', 'bold'))
        self.label.pack()

        self.button1 = Button(frame, text="click to close", fg='red', command=frame.quit)
        self.button1.pack()

        self.button2 = Button(frame, text="click to say hi", fg='blue', command=self.say_hi)
        self.button2.pack()

        self.button3 = Button(frame, text='Sunday Button', padx=10, pady=30)
        self.button3.config(cursor='gumby')
        self.button3.config(bd=8, relief=RAISED)
        self.button3.config(bg='green', fg='yellow')
        self.button3.config(font=('Helvetica', 10, 'bold italic'))
        self.button3.pack()

    def say_hi(self):
        print('hello world!')

root = Tk()
app = App(root)
root.mainloop()
